<template>
  <div class="wapper">
    <div class="backToHome">
      <router-link to="/me" style="text-decoration: none">
        <span class="iconfont return">&#xe600;</span>
      </router-link>
    </div>
    <div class="LoginMain">
      <input type="text" name="" id="account" placeholder="请输入账号" />
      <input type="text" name="" id="password" placeholder="请输入密码" />
      <button id="login">登录</button>
      <button id="register">注册</button>
    </div>
  </div>

  <img src="https://s6.jpg.cm/2022/06/26/PRBfy4.webp" alt="" />
</template>
<script></script>
<style scoped lang="scss">
.wapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.LoginMain {
  width: 80%;
  height: 60vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  input {
    width: 80%;
    height: 30px;
    margin-bottom: 20px;
    border: 0;
    outline: none;
    font-size: 20px;
    border-radius: 10px;
    padding: 5px;
    background-color: #ccc;
    padding-left: 10px;
  }
  input::placeholder {
    font-size: 15px;
  }

  button {
    width: 80%;
    height: 40px;
    margin-bottom: 10px;
    border: 0;
    background-color: #000;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
  }
}
.return {
  font-size: 40px;
  color: #ffffff;
  margin-left: 10%;
}
.backToHome {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
}
img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -999;
}
</style>
